<?php

/**
 * Default error view
 *  
 * @author
 * @version
 */

$this->headTitle('Error Page');
$this->placeholder('title')->set($this->title);
?>

<?php if ($this->message): ?>
	<p>The following error occurred:</p>
	<?php echo $this->message ?>
	
	<?php if ( $this->debugMode ) : ?>
	<div class="exception-trace">
	Trace: 
	<pre>
		<?php echo $this->trace; ?>
	</pre>
	</div>
	<?php endif; ?>
<?php endif; ?>
